#include <iostream>

using namespace std;

int main() {
    int counter = 0,  number, largest = 0;

    cout << "Please enter 10 numbers: ";

    while ( counter++ < 10 ) {
        cin >> number;
        if (number > largest) largest = number;
    }

    cout << "\nThe largest number is: " << number << endl;

    return 0;
}
